<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script>
	const a = {
		value: 1,
		valueOf:()=>{
			return a.value++
		}
	}
	console.log(a==1&&a==2&&a==3)
</script>
</html>